package com.example.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangkai
 * @since 2020-10-30
 */
@TableName("tbl_bidding")
@ApiModel(value="Bidding对象", description="")
public class Bidding extends Model<Bidding> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "地区")
    @TableField("districtShow")
    private String districtShow;

    @ApiModelProperty(value = "来源平台")
    @TableField("platformName")
    private String platformName;

    @ApiModelProperty(value = "业务类型")
    @TableField("classifyShow")
    private String classifyShow;

    @ApiModelProperty(value = "信息类型")
    @TableField("stageName")
    private String stageName;

    @ApiModelProperty(value = "URL")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "发布时间")
    @TableField("timeShow")
    private String timeShow;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getDistrictShow() {
        return districtShow;
    }

    public void setDistrictShow(String districtShow) {
        this.districtShow = districtShow;
    }
    public String getPlatformName() {
        return platformName;
    }

    public void setPlatformName(String platformName) {
        this.platformName = platformName;
    }
    public String getClassifyShow() {
        return classifyShow;
    }

    public void setClassifyShow(String classifyShow) {
        this.classifyShow = classifyShow;
    }
    public String getStageName() {
        return stageName;
    }

    public void setStageName(String stageName) {
        this.stageName = stageName;
    }
    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    public String getTimeShow() {
        return timeShow;
    }

    public void setTimeShow(String timeShow) {
        this.timeShow = timeShow;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Bidding{" +
        "id=" + id +
        ", title=" + title +
        ", districtShow=" + districtShow +
        ", platformName=" + platformName +
        ", classifyShow=" + classifyShow +
        ", stageName=" + stageName +
        ", url=" + url +
        ", timeShow=" + timeShow +
        ", createTime=" + createTime +
        "}";
    }
}
